package com.want.resp.blog.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author WangZhiJian
 * @since 2021/12/26 0026
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BlogMetaDataNameAndCountDto implements Serializable {

    private String name;

    private Integer count;

    public Object[] toObject(){
        return new Object[]{name,count};
    }
}
